https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial